home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / lib / pmake / RCS / tm.mk,v < prev    next >
Encoding:
Text File  |  1991-11-07  |  34.7 KB  |  1,899 lines

  1. head     1.55;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @@;
  7.  
  8.  
  9. 1.55
  10. date     91.11.06.18.35.03;  author kupfer;  state Exp;
  11. branches ;
  12. next     1.54;
  13.  
  14. 1.54
  15. date     91.10.24.11.25.42;  author mgbaker;  state Exp;
  16. branches ;
  17. next     1.53;
  18.  
  19. 1.53
  20. date     91.09.15.14.23.29;  author kupfer;  state Exp;
  21. branches ;
  22. next     1.52;
  23.  
  24. 1.52
  25. date     91.08.15.14.09.36;  author jhh;  state Exp;
  26. branches ;
  27. next     1.51;
  28.  
  29. 1.51
  30. date     91.08.15.11.47.29;  author jhh;  state Exp;
  31. branches ;
  32. next     1.50;
  33.  
  34. 1.50
  35. date     91.08.02.17.36.14;  author mendel;  state Exp;
  36. branches ;
  37. next     1.49;
  38.  
  39. 1.49
  40. date     91.05.15.17.34.44;  author kupfer;  state Exp;
  41. branches ;
  42. next     1.48;
  43.  
  44. 1.48
  45. date     91.04.18.12.09.57;  author kupfer;  state Exp;
  46. branches ;
  47. next     1.47;
  48.  
  49. 1.47
  50. date     91.04.18.11.32.05;  author kupfer;  state Exp;
  51. branches ;
  52. next     1.46;
  53.  
  54. 1.46
  55. date     91.04.14.22.22.21;  author kupfer;  state Exp;
  56. branches ;
  57. next     1.45;
  58.  
  59. 1.45
  60. date     91.03.24.20.58.16;  author jhh;  state Exp;
  61. branches ;
  62. next     1.44;
  63.  
  64. 1.44
  65. date     90.12.11.14.18.13;  author kupfer;  state Exp;
  66. branches ;
  67. next     1.43;
  68.  
  69. 1.43
  70. date     90.12.11.12.44.20;  author shirriff;  state Exp;
  71. branches ;
  72. next     1.42;
  73.  
  74. 1.42
  75. date     90.11.20.23.09.57;  author kupfer;  state Exp;
  76. branches ;
  77. next     1.41;
  78.  
  79. 1.41
  80. date     90.11.15.23.20.43;  author jhh;  state Exp;
  81. branches ;
  82. next     1.40;
  83.  
  84. 1.40
  85. date     90.11.02.10.41.07;  author jhh;  state Exp;
  86. branches ;
  87. next     1.39;
  88.  
  89. 1.39
  90. date     90.10.10.11.52.13;  author douglis;  state Exp;
  91. branches ;
  92. next     1.38;
  93.  
  94. 1.38
  95. date     90.08.23.12.22.22;  author douglis;  state Exp;
  96. branches ;
  97. next     1.37;
  98.  
  99. 1.37
  100. date     90.08.06.20.57.35;  author rab;  state Exp;
  101. branches ;
  102. next     1.36;
  103.  
  104. 1.36
  105. date     90.07.27.12.59.54;  author douglis;  state Exp;
  106. branches ;
  107. next     1.35;
  108.  
  109. 1.35
  110. date     90.07.24.16.18.09;  author fubar;  state Exp;
  111. branches ;
  112. next     1.34;
  113.  
  114. 1.34
  115. date     90.03.19.13.19.53;  author douglis;  state Exp;
  116. branches ;
  117. next     1.33;
  118.  
  119. 1.33
  120. date     90.02.15.01.01.28;  author rab;  state Exp;
  121. branches ;
  122. next     1.32;
  123.  
  124. 1.32
  125. date     90.02.08.12.37.41;  author douglis;  state Exp;
  126. branches ;
  127. next     1.31;
  128.  
  129. 1.31
  130. date     90.02.08.12.36.45;  author douglis;  state Exp;
  131. branches ;
  132. next     1.30;
  133.  
  134. 1.30
  135. date     90.01.05.11.28.33;  author rab;  state Exp;
  136. branches ;
  137. next     1.29;
  138.  
  139. 1.29
  140. date     89.10.19.15.00.10;  author jhh;  state Exp;
  141. branches ;
  142. next     1.28;
  143.  
  144. 1.28
  145. date     89.10.10.10.34.16;  author douglis;  state Exp;
  146. branches ;
  147. next     1.27;
  148.  
  149. 1.27
  150. date     89.10.09.06.55.59;  author rab;  state Exp;
  151. branches ;
  152. next     1.26;
  153.  
  154. 1.26
  155. date     89.09.27.17.59.28;  author douglis;  state Exp;
  156. branches ;
  157. next     1.25;
  158.  
  159. 1.25
  160. date     89.09.27.12.32.17;  author douglis;  state Exp;
  161. branches ;
  162. next     1.24;
  163.  
  164. 1.24
  165. date     89.08.24.21.18.20;  author jhh;  state Exp;
  166. branches ;
  167. next     1.23;
  168.  
  169. 1.23
  170. date     89.08.21.17.10.25;  author douglis;  state Exp;
  171. branches ;
  172. next     1.22;
  173.  
  174. 1.22
  175. date     89.08.18.11.20.36;  author douglis;  state Exp;
  176. branches ;
  177. next     1.21;
  178.  
  179. 1.21
  180. date     89.08.18.11.06.50;  author douglis;  state Exp;
  181. branches ;
  182. next     1.20;
  183.  
  184. 1.20
  185. date     89.08.17.07.33.19;  author rab;  state Exp;
  186. branches ;
  187. next     1.19;
  188.  
  189. 1.19
  190. date     89.08.16.22.48.27;  author rab;  state Exp;
  191. branches ;
  192. next     1.18;
  193.  
  194. 1.18
  195. date     89.08.16.22.36.17;  author douglis;  state Exp;
  196. branches ;
  197. next     1.17;
  198.  
  199. 1.17
  200. date     89.08.16.22.25.53;  author douglis;  state Exp;
  201. branches ;
  202. next     1.16;
  203.  
  204. 1.16
  205. date     89.08.16.21.23.00;  author douglis;  state Exp;
  206. branches ;
  207. next     1.15;
  208.  
  209. 1.15
  210. date     89.08.16.21.20.41;  author douglis;  state Exp;
  211. branches ;
  212. next     1.14;
  213.  
  214. 1.14
  215. date     89.07.26.14.08.22;  author mgbaker;  state Exp;
  216. branches ;
  217. next     1.13;
  218.  
  219. 1.13
  220. date     89.07.26.12.49.54;  author nelson;  state Exp;
  221. branches ;
  222. next     1.12;
  223.  
  224. 1.12
  225. date     89.07.20.17.36.27;  author mgbaker;  state Exp;
  226. branches ;
  227. next     1.11;
  228.  
  229. 1.11
  230. date     89.07.18.16.00.32;  author ouster;  state Exp;
  231. branches ;
  232. next     1.10;
  233.  
  234. 1.10
  235. date     89.07.18.15.26.42;  author rab;  state Exp;
  236. branches ;
  237. next     1.9;
  238.  
  239. 1.9
  240. date     89.07.02.23.31.06;  author rab;  state Exp;
  241. branches ;
  242. next     1.8;
  243.  
  244. 1.8
  245. date     89.06.23.12.04.24;  author jhh;  state Exp;
  246. branches ;
  247. next     1.7;
  248.  
  249. 1.7
  250. date     89.05.24.10.12.43;  author douglis;  state Exp;
  251. branches ;
  252. next     1.6;
  253.  
  254. 1.6
  255. date     89.05.09.01.09.31;  author rab;  state Exp;
  256. branches ;
  257. next     1.5;
  258.  
  259. 1.5
  260. date     89.04.23.23.10.35;  author jhh;  state Exp;
  261. branches ;
  262. next     1.4;
  263.  
  264. 1.4
  265. date     89.03.15.22.12.47;  author jhh;  state Exp;
  266. branches ;
  267. next     1.3;
  268.  
  269. 1.3
  270. date     89.02.24.13.29.41;  author mendel;  state Exp;
  271. branches ;
  272. next     1.2;
  273.  
  274. 1.2
  275. date     89.01.11.19.34.49;  author mlgray;  state Exp;
  276. branches ;
  277. next     1.1;
  278.  
  279. 1.1
  280. date     88.11.23.09.42.39;  author ouster;  state Exp;
  281. branches ;
  282. next     ;
  283.  
  284.  
  285. desc
  286. @@
  287.  
  288.  
  289. 1.55
  290. log
  291. @Add -Dsprite and -Dsun3 to the usual sun3 CFLAGS, making the sun3
  292. consistent with all the other machine types.
  293. @
  294. text
  295. @#
  296. # This Makefile is included by several other system Makefiles.  It
  297. # sets up variables that depend on the particular target machine
  298. # being compiled for, such as compiler flags.  One variable should
  299. # be defined before including this file:
  300. #
  301. # TM        Target machine for which code is to be generated (e.g.
  302. #        sun2, sun3, spur, etc.)
  303. #
  304. # This file will create a variable TMCFLAGS, which, when passed to CC,
  305. # will ensure that an object file is generated for machines of type TM.
  306. # It will also generate a variable TMAFLAGS, which will serve the
  307. # same purpose for the assembler.  Finally, it will set program names
  308. # like AS and LD to values appropriate for the machine type.
  309. #
  310. # The only flags that should be defined here are those that are required 
  311. # for successful compilation on that machine.  Optional flags such as
  312. # optimization should be defined in local modules.  
  313. #
  314. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.54 91/10/24 11:25:42 mgbaker Exp Locker: kupfer $
  315.  
  316. # Down at the bottom we edit $MACHINES so that "make all" will behave
  317. # sensibly.  For the error messages below, though, we want to use the
  318. # real $MACHINES.  So, we define a new variable for use in the error
  319. # messages.
  320.  
  321. SUPPORTED_MACHINES    := $(MACHINES)
  322.  
  323. # What follows is a big long if/elif chain, keyed on TM, to set flags,
  324. # CC, etc.  Each top-level branch also verifies that TM is in MACHINES.
  325. # It would be nice if we could do this in just one place, but pmake
  326. # doesn't like the construct "empty(MACHINES:M$(TM))".
  327.  
  328. #if !empty(TM:Msun3)
  329. TMCFLAGS        = -msun3 -Dsun3 -Dsprite
  330. TMAFLAGS        = -m68020
  331. LDFLAGS            = -msun3
  332. #if empty(MACHINES:Msun3) && !make(newtm)
  333. .BEGIN::
  334.     @@echo "Sorry, the target machine ($(TM)) isn't in the list of"
  335.     @@echo "supported machines ($(SUPPORTED_MACHINES))."
  336.     exit 1
  337. #endif
  338. #if !empty(MACHINE:Mds3100) || !empty(MACHINE:Mds5000)
  339. CC                      = gcc
  340. AS                      = gas
  341. LD                      = gld
  342. #endif
  343.  
  344. #elif !empty(TM:Mspur)
  345. TMCFLAGS        = -mspur -mlong-jumps -DLOCKREG 
  346. TMAFLAGS        =
  347. AS            = /sprite/cmds.$(MACHINE)/sas
  348. LD            = /sprite/cmds.$(MACHINE)/sld
  349. RANLIB            = /sprite/cmds.$(MACHINE)/sranlib
  350. XLD            = /sprite/cmds.$(MACHINE)/xld
  351. NOOPTIMIZATION        =
  352. LDFLAGS            = 
  353. #if empty(MACHINES:Mspur) && !make(newtm)
  354. .BEGIN::
  355.     @@echo "Sorry, the target machine ($(TM)) isn't in the list of"
  356.     @@echo "allowed machines ($(SUPPORTED_MACHINES))."
  357.     exit 1
  358. #endif
  359.  
  360. #elif !empty(TM:Msun4)
  361. TMCFLAGS        = -msun4 -Dsprite -Dsun4
  362. TMAFLAGS        = -msparc
  363. LDFLAGS            = -msun4
  364. #if empty(MACHINES:Msun4) && !make(newtm)
  365. .BEGIN::
  366.     @@echo "Sorry, the target machine ($(TM)) isn't in the list of"
  367.     @@echo "allowed machines ($(SUPPORTED_MACHINES))."
  368.     exit 1
  369. #endif
  370. #if !empty(MACHINE:Mds3100) || !empty(MACHINE:Mds5000)
  371. CC                      = gcc
  372. AS                      = gas
  373. LD                      = gld
  374. #endif
  375.  
  376. #elif !empty(TM:Mcleansun4)
  377. TMCFLAGS        = -msun4 -Dsprite -Dsun4 -DCLEAN -DCLEAN_LOCK
  378. TMAFLAGS        = -msparc
  379. LDFLAGS            = -msun4
  380. #if empty(MACHINES:Mcleansun4) && !make(newtm)
  381. .BEGIN::
  382.     @@echo "Sorry, the target machine ($(TM)) isn't in the list of"
  383.     @@echo "allowed machines ($(SUPPORTED_MACHINES))."
  384.     exit 1
  385. #endif
  386. #if !empty(MACHINE:Mds3100) || !empty(MACHINE:Mds5000)
  387. CC                      = gcc
  388. AS                      = gas
  389. LD                      = gld
  390. #endif
  391.  
  392. #elif !empty(TM:Msun4c)
  393. TMCFLAGS        = -msun4 -Dsprite -Dsun4 -Dsun4c
  394. TMAFLAGS        = -msparc
  395. LDFLAGS            = -msun4
  396. #if empty(MACHINES:Msun4c) && !make(newtm)
  397. .BEGIN::
  398.     @@echo "Sorry, the target machine ($(TM)) isn't in the list of"
  399.     @@echo "allowed machines ($(SUPPORTED_MACHINES))."
  400.     exit 1
  401. #endif
  402. #if !empty(MACHINE:Mds3100) || !empty(MACHINE:Mds5000)
  403. CC                      = gcc
  404. AS                      = gas
  405. LD                      = gld
  406. #endif
  407.  
  408. #elif !empty(TM:Mcleansun4c)
  409. TMCFLAGS        = -msun4 -Dsprite -Dsun4 -Dsun4c -DCLEAN -DCLEAN_LOCK
  410. TMAFLAGS        = -msparc
  411. LDFLAGS            = -msun4
  412. #if empty(MACHINES:Mcleansun4c) && !make(newtm)
  413. .BEGIN::
  414.     @@echo "Sorry, the target machine ($(TM)) isn't in the list of"
  415.     @@echo "allowed machines ($(SUPPORTED_MACHINES))."
  416.     exit 1
  417. #endif
  418. #if !empty(MACHINE:Mds3100) || !empty(MACHINE:Mds5000)
  419. CC                      = gcc
  420. AS                      = gas
  421. LD                      = gld
  422. #endif 
  423.  
  424. #elif !empty(TM:Mcleansun3) 
  425. TMCFLAGS        = -msun3 -Dsun3 -Dsprite -DCLEAN -DCLEAN_LOCK
  426. TMAFLAGS        = -m68020
  427. LDFLAGS            = 
  428. #if empty(MACHINES:Mcleansun3) && !make(newtm)
  429. .BEGIN::
  430.     @@echo "Sorry, the target machine ($(TM)) isn't in the list of"
  431.     @@echo "allowed machines ($(SUPPORTED_MACHINES))."
  432.     exit 1
  433. #endif
  434.  
  435. #elif !empty(TM:Mcleands3100)
  436. TMCFLAGS    = -Dds3100 -Dsprite -DCLEAN -DCLEAN_LOCK -Uultrix
  437. TMAFLAGS    = -Dds3100 -Dsprite -Uultrix
  438. LDFLAGS        = -L/sprite/lib/ds3100.md
  439. #if empty(MACHINES:Mcleands3100) && !make(newtm)
  440. .BEGIN::
  441.     @@echo "Sorry, the target machine ($(TM)) isn't in the list of"
  442.     @@echo "allowed machines ($(SUPPORTED_MACHINES))."
  443.     exit 1
  444. #endif
  445.  
  446. #elif !empty(TM:Mds3100)
  447. TMCFLAGS    = -Dds3100 -Dsprite -Uultrix
  448. TMAFLAGS    = -Dds3100 -Dsprite -Uultrix
  449. LDFLAGS        = -L/sprite/lib/ds3100.md
  450. #if empty(MACHINES:Mds3100) && !make(newtm)
  451. .BEGIN::
  452.     @@echo "Sorry, the target machine ($(TM)) isn't in the list of"
  453.     @@echo "allowed machines ($(SUPPORTED_MACHINES))."
  454.     exit 1
  455. #endif
  456. #if !empty(CC:Mgcc)
  457. TMCFLAGS    += -Dmips -DLANGUAGE_C
  458. #endif
  459. LINTFLAGS    += -Dmips -DLANGUAGE_C
  460.  
  461. #elif !empty(TM:Mds5000)
  462. TMCFLAGS    = -Dds5000 -Dsprite -Uultrix
  463. TMAFLAGS    = -Dds5000 -Dsprite -Uultrix
  464. LDFLAGS        = -L/sprite/lib/ds5000.md
  465. #if empty(MACHINES:Mds5000) && !make(newtm)
  466. .BEGIN::
  467.     @@echo "Sorry, the target machine ($(TM)) isn't in the list of"
  468.     @@echo "allowed machines ($(SUPPORTED_MACHINES))."
  469.     exit 1
  470. #endif
  471. #if !empty(CC:Mgcc)
  472. TMCFLAGS    += -Dmips -DLANGUAGE_C
  473. #endif
  474. LINTFLAGS    += -Dmips -DLANGUAGE_C
  475.  
  476. #elif !empty(TM:Msun4nw)
  477.  
  478. #    Sun4 compiled not to use save/restore register window instructions.
  479. TMCFLAGS        = -msun4 -Dsprite -Dsun4 -B/users/mendel/lib/$(MACHINE).md/ -mno-windows -DNOWINDOWS
  480. TMAFLAGS        = -msparc
  481. LDFLAGS            = -msun4
  482. #if empty(MACHINES:Msun4nw) && !make(newtm)
  483. .BEGIN::
  484.     @@echo "Sorry, the target machine ($(TM)) isn't in the list of"
  485.     @@echo "allowed machines ($(SUPPORTED_MACHINES))."
  486.     exit 1
  487. #endif
  488.  
  489. #elif !empty(TM:Msymm)
  490. TMCFLAGS    = -msymm -Dsprite -Dsymm
  491. TMAFLAGS    = -msymm
  492. LDFLAGS        = -msymm
  493. #if empty(MACHINES:Msymm) && !make(newtm)
  494. .BEGIN::
  495.     @@echo "Sorry, the target machine ($(TM)) isn't in the list of"
  496.     @@echo "allowed machines ($(SUPPORTED_MACHINES))."
  497.     exit 1
  498. #endif
  499. #if !empty(MACHINE:Mds3100) || !empty(MACHINE:Mds5000)
  500. CC                      = gcc
  501. AS                      = gas
  502. LD                      = gld
  503. #endif
  504.  
  505. #elif !empty(TM:Msym)
  506. TMCFLAGS    = -msym -Dsprite -Dsym
  507. TMAFLAGS    = -msym
  508. LDFLAGS        = -msym
  509. #if empty(MACHINES:Msym) && !make(newtm)
  510. .BEGIN::
  511.     @@echo "Sorry, the target machine ($(TM)) isn't in the list of"
  512.     @@echo "allowed machines ($(SUPPORTED_MACHINES))."
  513.     exit 1
  514. #endif
  515. #if !empty(MACHINE:Mds3100) || !empty(MACHINE:Mds5000)
  516. CC                      = gcc
  517. AS                      = gas
  518. LD                      = gld
  519. #endif
  520.  
  521. #else
  522.  
  523. # (some random TM)
  524.  
  525. TMCFLAGS        ?= -m$(TM)
  526. TMAFLAGS        ?= -m$(TM)
  527. #endif
  528.  
  529. # (End of big if/elif chain)
  530.  
  531.  
  532.  
  533. # The line below makes "clean" machines types and people's private "machines"
  534. # invisible under for purposes of commands like "make all": you have
  535. # to ask for them explicitly with the TM= option.  Also make "spur"
  536. # and "symm" disappear; spur is obsolete, and symm is practically unused.
  537.  
  538. #ifdef MACHINES
  539. MACHINES    := $(MACHINES:Nfd:Njhh:Ncleansun4:Ncleansun4c:Ncleansun3:Ncleands3100:Ncleands5000:Nspur:Nsun4nw:Nsymm)
  540. #endif
  541.  
  542.  
  543.  
  544. # This next tangle of tests checks for bogus cross-compilations.  The
  545. # allowable cross-compilations are:
  546. #
  547. # on/target    sun3    sun4        DECstation    symm
  548. # sun3        ok    ok        unsupported    unsupported
  549. # sun4        ok    ok        unsupported    unsupported
  550. # DECstation    ok    ok w/o ld    ok        ok
  551. # symm        unsup.    unsup.        unsupported    ok
  552. #
  553. # For example, suns and DECstations can build for a sun3, but only
  554. # DECstations can build for DECstations.  
  555. # You can build for a sun4 on a DECstation, but only if you don't need
  556. # to use ld. -mdk 15-Sep-1991.
  557. #
  558. # Complications:
  559. # 1. We make "make all" intelligent enough not to try an unsupported
  560. #    cross-compilation.  This is done by hacking the list of allowed
  561. #    target types (MACHINES)).
  562. # 2. We try to recognize that gcc does know something about
  563. #    cross-compiling (see the CC assignments above).
  564. #
  565. # The tests are done in a separate batch because we only want to do
  566. # them if we're actually going to compile, assemble, or link
  567. # something.
  568.  
  569. # First check if we're actually going to build something.
  570.  
  571. #if !make(clean) && !make(depend) && !make(mkmf) && !make(tidy) && \
  572.     !make(installhdrs) && !make(mkmfall) && !make(cleanall) && \
  573.     !make(dependall) && !make(tidyall) && !make(dist) && !make(distall)
  574.  
  575. # We are.  Check for compatibility according to the above table, using
  576. # an if/elif chain based on MACHINE.
  577.  
  578. #if !empty(MACHINE:Msun3) || !empty(MACHINE:Msun4)
  579.  
  580. # This next expression is all on one line because the Symmetry pmake
  581. # can't handle continued lines in the middle of a parenthesized
  582. # expression. -mdk 15-May-1991.
  583.  
  584. #if (!empty(TM:Mds3100) || !empty(TM:Mcleands3100) || !empty(TM:Mds5000) || !empty(TM:Mcleands5000)) && empty(CC:Mgcc)
  585. .BEGIN::
  586.     @@echo "you cannot compile for a DECstation on this machine"
  587.     exit 1
  588. #endif
  589. #if !empty(TM:Msymm)
  590. .BEGIN::
  591.     @@echo "you cannot compile for a Symmetry on this machine"
  592.     exit 1
  593. #endif
  594. #ifdef MACHINES
  595. MACHINES    := $(MACHINES:Nds3100:Nds5000)
  596. #endif
  597.  
  598. #elif !empty(MACHINE:Msymm)
  599.  
  600. #if empty(TM:Msymm)
  601. .BEGIN::
  602.     @@echo "you can only compile for a Symmetry on this machine"
  603.     exit 1
  604. #endif
  605. MACHINES    = symm
  606.  
  607. #endif /* MACHINE chain */
  608. #endif /* !make(clean), !make(depend), ... */
  609.  
  610. LDFLAGS    ?=
  611. @
  612.  
  613.  
  614. 1.54
  615. log
  616. @Removed sun4c2 entry.
  617. @
  618. text
  619. @d20 1
  620. a20 1
  621. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.53 91/09/15 14:23:29 kupfer Exp Locker: mgbaker $
  622. d36 1
  623. a36 1
  624. TMCFLAGS        = -msun3 
  625. d132 1
  626. a132 1
  627. TMCFLAGS        = -msun3 -Dsun3 -DCLEAN -DCLEAN_LOCK
  628. @
  629.  
  630.  
  631. 1.53
  632. log
  633. @Allow cross-compilation for sun4's on DECstations.
  634. @
  635. text
  636. @d20 1
  637. a20 1
  638. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.52 91/08/15 14:09:36 jhh Exp Locker: kupfer $
  639. a113 18
  640.  
  641. #elif !empty(TM:Msun4c2)
  642. TMCFLAGS        = -msun4 -Dsprite -Dsun4 -Dsun4c -Dsun4c2
  643. TMAFLAGS        = -msparc
  644. LDFLAGS            = -msun4
  645. #if empty(MACHINES:Msun4c2) && !make(newtm)
  646. .BEGIN::
  647.     @@echo "Sorry, the target machine ($(TM)) isn't in the list of"
  648.     @@echo "allowed machines ($(SUPPORTED_MACHINES))."
  649.     exit 1
  650. #endif
  651. #if !empty(MACHINE:Mds3100) || !empty(MACHINE:Mds5000)
  652. CC                      = gcc
  653. AS                      = gas
  654. LD                      = gld
  655. #endif
  656.  
  657.  
  658. @
  659.  
  660.  
  661. 1.52
  662. log
  663. @sun4c2 stuff was added incorrectly
  664. @
  665. text
  666. @d20 1
  667. a20 1
  668. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.51 91/08/15 11:47:29 jhh Exp $
  669. d275 1
  670. a275 1
  671. # DECstation    ok    broken        ok        ok
  672. d279 3
  673. a281 1
  674. # DECstations can build for DECstations.
  675. a320 13
  676. #endif
  677.  
  678. #elif !empty(MACHINE:Mds3100) || !empty(MACHINE:Mds5000)
  679.  
  680. #if !empty(TM:Msun4) || !empty(TM:Mcleansun4) || \
  681.     !empty(TM:Msun4c2) || !empty(TM:Mcleansun4c2) || \
  682.     !empty(TM:Msun4c) || !empty(TM:Mcleansun4c)
  683. .BEGIN::
  684.     @@echo "you cannot compile for a sun4 on this machine"
  685.     exit 1
  686. #endif
  687. #ifdef MACHINES
  688. MACHINES    := $(MACHINES:Nsun4:Nsun4c:Nsun4c2)
  689. @
  690.  
  691.  
  692. 1.51
  693. log
  694. @added some lint flags for the decstations
  695. @
  696. text
  697. @d20 1
  698. a20 1
  699. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.49 91/05/15 17:34:44 kupfer Exp Locker: mendel $
  700. d119 1
  701. a119 1
  702. #if empty(MACHINES:Msun4c) && !make(newtm)
  703. @
  704.  
  705.  
  706. 1.50
  707. log
  708. @checking this in for mendel -- jhh
  709. @
  710. text
  711. @d184 1
  712. d199 1
  713. @
  714.  
  715.  
  716. 1.49
  717. log
  718. @Clean up cross-compilation stuff.  
  719. Don't allow DECstations to build for SPARCstations (until gld is fixed).
  720. @
  721. text
  722. @d20 1
  723. a20 1
  724. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.48 91/04/18 12:09:57 kupfer Exp Locker: kupfer $
  725. d115 18
  726. d322 1
  727. a322 1
  728.     !empty(TM:Msun4nw) || !empty(TM:Mcleansun4nw) || \
  729. d329 1
  730. a329 1
  731. MACHINES    := $(MACHINES:Nsun4:Nsun4c:Nsun4nw)
  732. @
  733.  
  734.  
  735. 1.48
  736. log
  737. @Oops, the previous change was wrong.  Try again, and fix up some of
  738. the commenting to make it clearer what's going on.
  739.  
  740. @
  741. text
  742. @d20 1
  743. a20 1
  744. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.47 91/04/18 11:32:05 kupfer Exp Locker: kupfer $
  745. d23 4
  746. a26 3
  747. # Down at the bottom we elide ds3100 from $MACHINES.  For the error
  748. # messages below, though, we want to keep the ds3100 in $MACHINES.
  749. # So, we define a new variable for use in the error messages.
  750. d31 3
  751. a33 3
  752. # CC, etc.  Each top-level branch also verifies that TM is in
  753. # MACHINES.  It would be nice if we could do this in just one place,
  754. # but pmake doesn't like the construct "empty(MACHINES:M$(TM))".
  755. d45 1
  756. a45 1
  757. #if !empty(MACHINE:Mds3100)
  758. d49 1
  759. a49 6
  760. #endif /* MACHINE:ds3100 */
  761. #if !empty(MACHINE:Mds5000)
  762. CC                      = gcc
  763. AS                      = gas
  764. LD                      = gld
  765. #endif /* MACHINE:ds5000 */
  766. d77 1
  767. a77 1
  768. #if !empty(MACHINE:Mds3100)
  769. d81 1
  770. a81 6
  771. #endif /* MACHINE:ds3100 */
  772. #if !empty(MACHINE:Mds5000)
  773. CC                      = gcc
  774. AS                      = gas
  775. LD                      = gld
  776. #endif /* MACHINE:ds5000 */
  777. d93 1
  778. a93 1
  779. #if !empty(MACHINE:Mds3100)
  780. d97 1
  781. a97 6
  782. #endif /* MACHINE:ds3100 */
  783. #if !empty(MACHINE:Mds5000)
  784. CC                      = gcc
  785. AS                      = gas
  786. LD                      = gld
  787. #endif /* MACHINE:ds5000 */
  788. d109 1
  789. a109 1
  790. #if !empty(MACHINE:Mds3100)
  791. d113 1
  792. a113 6
  793. #endif /* MACHINE:ds3100 */
  794. #if !empty(MACHINE:Mds5000)
  795. CC                      = gcc
  796. AS                      = gas
  797. LD                      = gld
  798. #endif /* MACHINE:ds5000 */
  799. d125 1
  800. a125 1
  801. #if !empty(MACHINE:Mds3100)
  802. d129 1
  803. a129 6
  804. #endif /* MACHINE:ds3100 */
  805. #if !empty(MACHINE:Mds5000)
  806. CC                      = gcc
  807. AS                      = gas
  808. LD                      = gld
  809. #endif /* MACHINE:ds5000 */
  810. d204 1
  811. a204 1
  812. #if !empty(MACHINE:Mds3100)
  813. d208 1
  814. a208 6
  815. #endif /* MACHINE:ds3100 */
  816. #if !empty(MACHINE:Mds5000)
  817. CC                      = gcc
  818. AS                      = gas
  819. LD                      = gld
  820. #endif /* MACHINE:ds5000 */
  821. d220 1
  822. a220 1
  823. #if !empty(MACHINE:Mds3100)
  824. d224 1
  825. a224 6
  826. #endif /* MACHINE:ds3100 */
  827. #if !empty(MACHINE:Mds5000)
  828. CC                      = gcc
  829. AS                      = gas
  830. LD                      = gld
  831. #endif /* MACHINE:ds5000 */
  832. d240 2
  833. a241 1
  834. # to ask for them explicitly with the TM= option.
  835. d249 22
  836. a270 7
  837. # This next tangle of tests verifies that we're using our compilers
  838. # correctly.  We can build for Suns on both Suns and DECstations, but
  839. # we can only build for DECstations on DECstations.  As an added
  840. # complication, we make "make all" intelligent enough not to try to
  841. # build for a DECstation on a Sun.  We also try to recognize that gcc
  842. # does know something about cross-compiling (see the CC assignments
  843. # above).
  844. d278 2
  845. a279 1
  846. # We are.  Is the target a DECstation?
  847. d281 1
  848. a281 2
  849. #if !empty(TM:Mds3100) || !empty(TM:Mds5000) || \
  850.     !empty(TM:Mcleands3100) || !empty(TM:Mcleands5000)
  851. d283 5
  852. a287 1
  853. #if empty(MACHINE:Mds3100) && empty(CC:Mgcc) && empty(MACHINE:Mds5000)
  854. d291 6
  855. a296 6
  856.  
  857. #else /* MACHINE=decstation or using gcc */
  858.  
  859. # We're compiling for a DECstation, on a DECstation.
  860. # Reset MACHINES variable so a make *all  will ignore spur.
  861.  
  862. d298 1
  863. a298 1
  864. MACHINES    := $(MACHINES:Nspur)
  865. a299 1
  866. #endif /* MACHINE=decstation or CC=gcc */
  867. d301 1
  868. a301 6
  869. #else /* TM test */
  870.  
  871. # We're compiling for something other than a DECstation.  Probably, TM
  872. # defaulted to MACHINE, so we are (probably) compiling on something
  873. # other than a DECstation.  So, reset MACHINES variable so a "make *all"
  874. # will ignore DECstations.  (Yes, this is a hack.)
  875. d303 7
  876. d311 1
  877. a311 1
  878. MACHINES    := $(MACHINES:Nds3100:Nds5000)
  879. d314 3
  880. a316 1
  881. #if (!empty(MACHINE:Mds3100) || !empty(MACHINE:Mds5000)) && empty(CC:Mgcc)
  882. d318 1
  883. a318 1
  884.     @@echo "you cannot compile for this machine on a DECstation"
  885. a319 1
  886.  
  887. d321 1
  888. d323 1
  889. a323 1
  890. #endif /* TM test */
  891. @
  892.  
  893.  
  894. 1.47
  895. log
  896. @Remove ds5000 from MACHINES for purposes of "make all", "make
  897. installall", etc.  (This is already done for ds3100).
  898.  
  899. @
  900. text
  901. @d20 1
  902. a20 1
  903. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.46 91/04/14 22:22:21 kupfer Exp Locker: kupfer $
  904. d270 3
  905. a272 1
  906. # The line below makes ds3100, ds5000, and people's private "machines"
  907. a275 1
  908.  
  909. d277 1
  910. a277 1
  911. MACHINES    := $(MACHINES:Nfd:Njhh:Ncleansun4:Ncleansun4c:Ncleansun3:Ncleands3100:Nds5000:Nspur:Nsun4nw:Nsymm)
  912. d280 12
  913. a294 1
  914. # only allow compiles for ds3100 if and only if MACHINE is a ds3100.
  915. d296 1
  916. a296 1
  917. #if !empty(TM:Mds3100) || !empty(TM:Mds5000) || !empty(TM:Mcleands3100) 
  918. d298 3
  919. d303 1
  920. a303 1
  921.     @@echo "you cannot compile for a ds3100 on this machine"
  922. d306 6
  923. a311 2
  924. #else /* MACHINE:ds3100 or gcc */
  925. # reset MACHINES variable so a make *all  will ignore spur
  926. d313 4
  927. a316 1
  928. #endif /* ds3100/gcc */
  929. d318 4
  930. a321 1
  931. #else /* not DECstation */
  932. d324 1
  933. a324 2
  934. # reset MACHINES variable so a make *all  will ignore ds3100.
  935. MACHINES    := $(MACHINES:Nds3100)
  936. d327 1
  937. a327 1
  938. #if !empty(MACHINE:Mds3100) && empty(CC:Mgcc)
  939. d329 1
  940. a329 1
  941.     @@echo "you cannot compile for this machine on a ds3100"
  942. d334 1
  943. a334 1
  944. #endif /* not DECstation */
  945. @
  946.  
  947.  
  948. 1.46
  949. log
  950. @Use .BEGIN:: instead of .BEGIN: for the error checks.  This lets us
  951. have more than one error message (though the user sees only the first
  952. one) without getting ugly complaints about ``Extra command line for
  953. ".BEGIN"''.
  954. @
  955. text
  956. @d20 1
  957. a20 1
  958. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.45 91/03/24 20:58:16 jhh Exp Locker: kupfer $
  959. d270 3
  960. a272 3
  961. # The line below makes ds3100 and people's private "machines" invisible
  962. # under for purposes of commands like "make all":  you have to ask for
  963. # them explicitly with the TM= option.
  964. d276 1
  965. a276 1
  966. MACHINES    := $(MACHINES:Nfd:Njhh:Ncleansun4:Ncleansun4c:Ncleansun3:Ncleands3100:Nspur:Nsun4nw:Nsymm)
  967. @
  968.  
  969.  
  970. 1.45
  971. log
  972. @ds5000's can compile for ds3100's.  (Mike checking in for John.)
  973. @
  974. text
  975. @d20 1
  976. a20 1
  977. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.44 90/12/11 14:18:13 kupfer Exp $
  978. d39 1
  979. a39 1
  980. .BEGIN:
  981. d65 1
  982. a65 1
  983. .BEGIN:
  984. d76 1
  985. a76 1
  986. .BEGIN:
  987. d97 1
  988. a97 1
  989. .BEGIN:
  990. d118 1
  991. a118 1
  992. .BEGIN:
  993. d139 1
  994. a139 1
  995. .BEGIN:
  996. d160 1
  997. a160 1
  998. .BEGIN:
  999. d171 1
  1000. a171 1
  1001. .BEGIN:
  1002. d182 1
  1003. a182 1
  1004. .BEGIN:
  1005. d196 1
  1006. a196 1
  1007. .BEGIN:
  1008. d212 1
  1009. a212 1
  1010. .BEGIN:
  1011. d223 1
  1012. a223 1
  1013. .BEGIN:
  1014. d244 1
  1015. a244 1
  1016. .BEGIN:
  1017. d287 1
  1018. a287 1
  1019. .BEGIN:
  1020. d304 1
  1021. a304 1
  1022. .BEGIN:
  1023. @
  1024.  
  1025.  
  1026. 1.44
  1027. log
  1028. @TM doesn't have to be in MACHINES if the command is "make newtm".
  1029. Also, fixed the error message so that ds3100 wouldn't get omitted.
  1030. @
  1031. text
  1032. @d20 1
  1033. a20 1
  1034. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.43 90/12/11 12:44:20 shirriff Exp Locker: kupfer $
  1035. d286 1
  1036. a286 1
  1037. #if empty(MACHINE:Mds3100) && empty(CC:Mgcc)
  1038. @
  1039.  
  1040.  
  1041. 1.43
  1042. log
  1043. @Fixed problem with undefined LDFLAGS.  This caused a strange error
  1044. if you tried compiling for an invalid machine type.
  1045. @
  1046. text
  1047. @d20 1
  1048. a20 1
  1049. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.42 90/11/20 23:09:57 kupfer Exp Locker: shirriff $
  1050. d23 6
  1051. d38 1
  1052. a38 1
  1053. #if empty(MACHINES:Msun3)
  1054. d41 1
  1055. a41 1
  1056.     @@echo "supported machines ($(MACHINES))."
  1057. d64 1
  1058. a64 1
  1059. #if empty(MACHINES:Mspur)
  1060. d67 1
  1061. a67 1
  1062.     @@echo "allowed machines ($(MACHINES))."
  1063. d75 1
  1064. a75 1
  1065. #if empty(MACHINES:Msun4)
  1066. d78 1
  1067. a78 1
  1068.     @@echo "allowed machines ($(MACHINES))."
  1069. d96 1
  1070. a96 1
  1071. #if empty(MACHINES:Mcleansun4)
  1072. d99 1
  1073. a99 1
  1074.     @@echo "allowed machines ($(MACHINES))."
  1075. d117 1
  1076. a117 1
  1077. #if empty(MACHINES:Msun4c)
  1078. d120 1
  1079. a120 1
  1080.     @@echo "allowed machines ($(MACHINES))."
  1081. d138 1
  1082. a138 1
  1083. #if empty(MACHINES:Mcleansun4c)
  1084. d141 1
  1085. a141 1
  1086.     @@echo "allowed machines ($(MACHINES))."
  1087. d159 1
  1088. a159 1
  1089. #if empty(MACHINES:Mcleansun3)
  1090. d162 1
  1091. a162 1
  1092.     @@echo "allowed machines ($(MACHINES))."
  1093. d170 1
  1094. a170 1
  1095. #if empty(MACHINES:Mcleands3100)
  1096. d173 1
  1097. a173 1
  1098.     @@echo "allowed machines ($(MACHINES))."
  1099. d181 1
  1100. a181 1
  1101. #if empty(MACHINES:Mds3100)
  1102. d184 1
  1103. a184 1
  1104.     @@echo "allowed machines ($(MACHINES))."
  1105. d195 1
  1106. a195 1
  1107. #if empty(MACHINES:Mds5000)
  1108. d198 1
  1109. a198 1
  1110.     @@echo "allowed machines ($(MACHINES))."
  1111. d211 1
  1112. a211 1
  1113. #if empty(MACHINES:Msun4nw)
  1114. d214 1
  1115. a214 1
  1116.     @@echo "allowed machines ($(MACHINES))."
  1117. d222 1
  1118. a222 1
  1119. #if empty(MACHINES:Msymm)
  1120. d225 1
  1121. a225 1
  1122.     @@echo "allowed machines ($(MACHINES))."
  1123. d243 1
  1124. a243 1
  1125. #if empty(MACHINES:Msym)
  1126. d246 1
  1127. a246 1
  1128.     @@echo "allowed machines ($(MACHINES))."
  1129. @
  1130.  
  1131.  
  1132. 1.42
  1133. log
  1134. @Verify that TM is in MACHINES.  Add some comments.  Add additional
  1135. checks to set CC, etc. correctly when building on a DECstation for a
  1136. Sun.
  1137. @
  1138. text
  1139. @d20 1
  1140. a20 1
  1141. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.41 90/11/15 23:20:43 jhh Exp Locker: kupfer $
  1142. d306 2
  1143. @
  1144.  
  1145.  
  1146. 1.41
  1147. log
  1148. @added ds5000
  1149. @
  1150. text
  1151. @d20 1
  1152. a20 1
  1153. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.40 90/11/02 10:41:07 jhh Exp Locker: jhh $
  1154. d23 5
  1155. d32 6
  1156. d42 1
  1157. a42 1
  1158. #endif
  1159. d47 1
  1160. a47 1
  1161. #endif
  1162. d58 6
  1163. d69 17
  1164. d90 6
  1165. d100 1
  1166. a100 1
  1167. #endif
  1168. d105 1
  1169. a105 1
  1170. #endif
  1171. d111 17
  1172. d132 6
  1173. d142 1
  1174. a142 1
  1175. #endif
  1176. d147 1
  1177. a147 1
  1178. #endif
  1179. d153 6
  1180. a160 1
  1181.  
  1182. d164 6
  1183. a171 1
  1184.  
  1185. d175 6
  1186. a180 1
  1187.  
  1188. a185 1
  1189.  
  1190. d189 6
  1191. a194 1
  1192.  
  1193. d205 6
  1194. a212 1
  1195.  
  1196. d216 6
  1197. d226 1
  1198. a226 1
  1199. #endif
  1200. d231 1
  1201. a231 1
  1202. #endif
  1203. a233 1
  1204.  
  1205. d237 6
  1206. d247 1
  1207. a247 1
  1208. #endif
  1209. d252 1
  1210. a252 1
  1211. #endif
  1212. d256 2
  1213. d262 2
  1214. d285 1
  1215. a285 1
  1216. #else
  1217. d288 1
  1218. a288 1
  1219. #endif
  1220. d290 1
  1221. a290 1
  1222. #else
  1223. d304 2
  1224. a305 2
  1225. #endif
  1226. #endif
  1227. @
  1228.  
  1229.  
  1230. 1.40
  1231. log
  1232. @added -msymm flag for symmetry
  1233. @
  1234. text
  1235. @d20 1
  1236. a20 1
  1237. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.38 90/08/23 12:22:22 douglis Exp Locker: douglis $
  1238. d32 5
  1239. d61 5
  1240. d80 5
  1241. d107 10
  1242. d134 5
  1243. d150 5
  1244. d175 3
  1245. a177 1
  1246. #if !empty(TM:Mds3100) || !empty(TM:Mjhh) || !empty(TM:Mcleands3100)
  1247. d187 1
  1248. d189 1
  1249. d194 1
  1250. d201 1
  1251. @
  1252.  
  1253.  
  1254. 1.39
  1255. log
  1256. @Cleaning up after Fred -- JHH
  1257. @
  1258. text
  1259. @d101 1
  1260. a101 1
  1261. TMCFLAGS    = -Dsprite -Dsymm
  1262. @
  1263.  
  1264.  
  1265. 1.38
  1266. log
  1267. @RAB changes for symmetry
  1268. @
  1269. text
  1270. @d20 1
  1271. a20 1
  1272. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.37 90/08/06 20:57:35 rab Exp Locker: rab $
  1273. d47 4
  1274. d61 4
  1275. d78 2
  1276. a79 2
  1277. TMCFLAGS    = -Dds3100 -Dsprite -DCLEAN -DCLEAN_LOCK
  1278. TMAFLAGS    = -Dds3100 -Dsprite
  1279. d133 1
  1280. a133 1
  1281. MACHINES    := $(MACHINES:Nfd:Njhh:Ncleansun3:Ncleands3100:Nspur:Nsun4nw:Nsymm)
  1282. @
  1283.  
  1284.  
  1285. 1.37
  1286. log
  1287. @Changed sym to symm.
  1288. @
  1289. text
  1290. @d20 1
  1291. a20 1
  1292. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.36 90/07/27 12:59:54 douglis Exp Locker: rab $
  1293. d93 19
  1294. a111 3
  1295. TMCFLAGS    =
  1296. TMAFLAGS    =
  1297. LDFLAGS        =
  1298. @
  1299.  
  1300.  
  1301. 1.36
  1302. log
  1303. @exclude sym from $(MACHINES)
  1304. @
  1305. text
  1306. @d20 1
  1307. a20 1
  1308. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.35 90/07/24 16:18:09 fubar Exp Locker: douglis $
  1309. d91 1
  1310. a91 1
  1311. #elif !empty(TM:Msym)
  1312. d109 1
  1313. a109 1
  1314. MACHINES    := $(MACHINES:Nfd:Njhh:Ncleansun3:Ncleands3100:Nspur:Nsun4nw:Nsym)
  1315. @
  1316.  
  1317.  
  1318. 1.35
  1319. log
  1320. @Added some stuff for the (addmittedly broken) Symmetry C compiler
  1321. @
  1322. text
  1323. @d20 1
  1324. a20 1
  1325. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.34 90/03/19 13:19:53 douglis Exp Locker: fubar $
  1326. d109 1
  1327. a109 1
  1328. MACHINES    := $(MACHINES:Nfd:Njhh:Ncleansun3:Ncleands3100:Nspur:Nsun4nw)
  1329. @
  1330.  
  1331.  
  1332. 1.34
  1333. log
  1334. @exclude sun4nw by default.
  1335. @
  1336. text
  1337. @d20 1
  1338. a20 1
  1339. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.33 90/02/15 01:01:28 rab Exp Locker: douglis $
  1340. d90 6
  1341. @
  1342.  
  1343.  
  1344. 1.33
  1345. log
  1346. @Fixes for gcc on ds3100.
  1347. @
  1348. text
  1349. @d20 1
  1350. a20 1
  1351. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.32 90/02/08 12:37:41 douglis Exp Locker: rab $
  1352. d103 1
  1353. a103 1
  1354. MACHINES    := $(MACHINES:Nfd:Njhh:Ncleansun3:Ncleands3100:Nspur)
  1355. @
  1356.  
  1357.  
  1358. 1.32
  1359. log
  1360. @removed spur from default MACHINES list
  1361. @
  1362. text
  1363. @d20 1
  1364. a20 1
  1365. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.31 90/02/08 12:36:45 douglis Exp Locker: douglis $
  1366. d79 4
  1367. @
  1368.  
  1369.  
  1370. 1.31
  1371. log
  1372. @MR changed it to add a sun4nw machine type
  1373. @
  1374. text
  1375. @d20 1
  1376. a20 1
  1377. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.30 90/01/05 11:28:33 rab Exp Locker: mendel $
  1378. d99 1
  1379. a99 1
  1380. MACHINES    := $(MACHINES:Nfd:Njhh:Ncleansun3:Ncleands3100)
  1381. @
  1382.  
  1383.  
  1384. 1.30
  1385. log
  1386. @Changes for ds3100 cross-compile capabilty.
  1387. @
  1388. text
  1389. @d20 1
  1390. a20 1
  1391. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.29 89/10/19 15:00:10 jhh Exp Locker: rab $
  1392. d79 7
  1393. @
  1394.  
  1395.  
  1396. 1.29
  1397. log
  1398. @make LOCKREG standard for spur kernels
  1399. @
  1400. text
  1401. @d20 1
  1402. a20 1
  1403. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.28 89/10/10 10:34:16 douglis Exp Locker: jhh $
  1404. d26 6
  1405. a31 1
  1406. LDFLAGS            = 
  1407. d47 5
  1408. d57 5
  1409. d100 1
  1410. a100 1
  1411. #if empty(MACHINE:Mds3100)
  1412. d106 2
  1413. a107 2
  1414. # reset MACHINES variable so a make *all  will ignore all but ds3100.
  1415. MACHINES    := $(MACHINES:Mds3100) $(MACHINES:Mjhh)
  1416. d114 1
  1417. a114 1
  1418. #if !empty(MACHINE:Mds3100)
  1419. @
  1420.  
  1421.  
  1422. 1.28
  1423. log
  1424. @undefine ultrix when compiling for the ds3100
  1425. @
  1426. text
  1427. @d20 1
  1428. a20 1
  1429. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.27 89/10/09 06:55:59 rab Exp Locker: douglis $
  1430. d29 1
  1431. a29 1
  1432. TMCFLAGS        = -mspur -mlong-jumps  
  1433. @
  1434.  
  1435.  
  1436. 1.27
  1437. log
  1438. @Fixed distribution stuff.
  1439. @
  1440. text
  1441. @d20 1
  1442. a20 1
  1443. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.26 89/09/27 17:59:28 douglis Exp Locker: rab $
  1444. d61 2
  1445. a62 2
  1446. TMCFLAGS    = -Dds3100 -Dsprite
  1447. TMAFLAGS    = -Dds3100 -Dsprite
  1448. @
  1449.  
  1450.  
  1451. 1.26
  1452. log
  1453. @enable -O for ds3100, with -g3 when needed
  1454. @
  1455. text
  1456. @d20 1
  1457. a20 1
  1458. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.25 89/09/27 12:32:17 douglis Exp Locker: douglis $
  1459. d82 1
  1460. a82 1
  1461.     !make(dependall) && !make(tidyall)
  1462. @
  1463.  
  1464.  
  1465. 1.25
  1466. log
  1467. @added clean* targets
  1468. @
  1469. text
  1470. @d20 1
  1471. a20 1
  1472. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.24 89/08/24 21:18:20 jhh Exp Locker: douglis $
  1473. a54 1
  1474. NOOPTIMIZATION        =
  1475. a60 1
  1476. NOOPTIMIZATION        =
  1477. @
  1478.  
  1479.  
  1480. 1.24
  1481. log
  1482. @changed my personal machine type (jhh) from sun3 to ds3100
  1483. @
  1484. text
  1485. @d20 1
  1486. a20 1
  1487. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.23 89/08/21 17:10:25 douglis Exp Locker: jhh $
  1488. d48 1
  1489. a48 1
  1490. #elif !empty(TM:Mfd) 
  1491. d51 8
  1492. d79 1
  1493. a79 1
  1494. MACHINES    := $(MACHINES:Nfd:Njhh)
  1495. d86 1
  1496. a86 1
  1497. #if !empty(TM:Mds3100) || !empty(TM:Mjhh)
  1498. d92 3
  1499. @
  1500.  
  1501.  
  1502. 1.23
  1503. log
  1504. @more changes for cross-compilation checks
  1505. @
  1506. text
  1507. @d20 1
  1508. a20 1
  1509. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.22 89/08/18 11:20:36 douglis Exp Locker: douglis $
  1510. a47 5
  1511. #elif !empty(TM:Mjhh) 
  1512. TMCFLAGS        = -msun3 -Dsun3
  1513. TMAFLAGS        = -m68020
  1514. LDFLAGS            =
  1515.  
  1516. d61 2
  1517. a62 2
  1518. TMCFLAGS        = -m$(TM)
  1519. TMAFLAGS        = -m$(TM)
  1520. d78 1
  1521. a78 1
  1522. #if !empty(TM:Mds3100)
  1523. @
  1524.  
  1525.  
  1526. 1.22
  1527. log
  1528. @generate a syntax error instead of undefined variable, so "make" gets error 
  1529. as well as "pmake".
  1530. @
  1531. text
  1532. @d20 1
  1533. a20 1
  1534. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.22 89/08/18 11:17:41 douglis Exp $
  1535. d62 1
  1536. a62 1
  1537. LDFLAGS        =
  1538. d79 3
  1539. a81 1
  1540. #if !make(clean) && !make(depend) && !make(mkmf) && !make(tidy) && !make(installhdrs)
  1541. d85 4
  1542. a88 1
  1543. all :: you-cant-run-on-this-machine
  1544. d96 4
  1545. a99 1
  1546. all :: you-cant-run-on-this-machine
  1547. @
  1548.  
  1549.  
  1550. 1.21
  1551. log
  1552. @allow machine-indep. installhdrs.
  1553. @
  1554. text
  1555. @d20 1
  1556. a20 1
  1557. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.20 89/08/17 07:33:19 rab Exp Locker: jhh $
  1558. d83 1
  1559. a83 1
  1560. syntax_error: $(
  1561. d91 1
  1562. a91 1
  1563. syntax_error: $(
  1564. @
  1565.  
  1566.  
  1567. 1.20
  1568. log
  1569. @Correctly deleted sun2 entry.
  1570. @
  1571. text
  1572. @d20 1
  1573. a20 1
  1574. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.19 89/08/16 22:48:27 rab Exp Locker: rab $
  1575. d79 1
  1576. a79 1
  1577. #if !make(clean) && !make(depend) && !make(mkmf) && !make(tidy) 
  1578. @
  1579.  
  1580.  
  1581. 1.19
  1582. log
  1583. @Deleted sun2 entry.
  1584. @
  1585. text
  1586. @d20 1
  1587. a20 1
  1588. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.18 89/08/16 22:36:17 douglis Exp Locker: rab $
  1589. d23 1
  1590. a23 1
  1591. #elif !empty(TM:Msun3)
  1592. @
  1593.  
  1594.  
  1595. 1.18
  1596. log
  1597. @remove ds3100 from MACHINES when doing a make all if not 
  1598. machine-independent.
  1599. @
  1600. text
  1601. @d20 1
  1602. a20 1
  1603. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.17 89/08/16 22:25:53 douglis Exp Locker: douglis $
  1604. a21 5
  1605.  
  1606. #if !empty(TM:Msun2)
  1607. TMCFLAGS        = -msun2 
  1608. TMAFLAGS        = -m68010
  1609. LDFLAGS            = 
  1610. @
  1611.  
  1612.  
  1613. 1.17
  1614. log
  1615. @sanity check on TM != MACHINE when one of them is a ds3100
  1616. @
  1617. text
  1618. @d20 1
  1619. a20 1
  1620. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.16 89/08/16 21:23:00 douglis Exp Locker: douglis $
  1621. d81 1
  1622. a81 1
  1623. MACHINES    := $(MACHINES:Nds3100:Nfd:Njhh)
  1624. d91 4
  1625. @
  1626.  
  1627.  
  1628. 1.16
  1629. log
  1630. @check for MACHINES being defined before resetting it.
  1631. @
  1632. text
  1633. @d20 1
  1634. a20 1
  1635. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.15 89/08/16 21:20:41 douglis Exp Locker: douglis $
  1636. d67 1
  1637. a67 1
  1638. LDFLAGS        = 
  1639. d82 13
  1640. @
  1641.  
  1642.  
  1643. 1.15
  1644. log
  1645. @change of sparc1 to sun4c (rab)
  1646. @
  1647. text
  1648. @d20 1
  1649. a20 1
  1650. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.14 89/07/26 14:08:22 mgbaker Exp Locker: rab $
  1651. d79 2
  1652. d82 1
  1653. @
  1654.  
  1655.  
  1656. 1.14
  1657. log
  1658. @Added defines for sparc station 1
  1659. @
  1660. text
  1661. @d20 1
  1662. a20 1
  1663. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.13 89/07/26 12:49:54 nelson Exp Locker: mgbaker $
  1664. d48 2
  1665. a49 2
  1666. #elif !empty(TM:Msparc1)
  1667. TMCFLAGS        = -msun4 -Dsprite -Dsun4 -Dsparc1
  1668. @
  1669.  
  1670.  
  1671. 1.13
  1672. log
  1673. @Mary checking this in for Mike.
  1674. @
  1675. text
  1676. @d20 1
  1677. a20 1
  1678. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.12 89/07/20 17:36:27 mgbaker Exp Locker: nelson $
  1679. d45 5
  1680. @
  1681.  
  1682.  
  1683. 1.12
  1684. log
  1685. @Got rid of extra porting stuff for sun4.
  1686. @
  1687. text
  1688. @d20 1
  1689. a20 1
  1690. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.11 89/07/18 16:00:32 ouster Exp Locker: mgbaker $
  1691. d44 1
  1692. a44 1
  1693. TMCFLAGS        = -msun4 -Dsprite -Dsun4 -DCLEAN_LOCK
  1694. d51 1
  1695. d60 2
  1696. a61 16
  1697. AS        = /bin/as
  1698. CC        = /bin/cc
  1699. CP        = /bin/cp
  1700. CPP        = /lib/cpp
  1701. CTAGS        = /usr/ucb/ctags
  1702. LD        = /bin/ld
  1703. MV        = /bin/mv
  1704. RM        = /bin/rm
  1705. SED        = /bin/sed
  1706. TOUCH        = /usr/bin/touch
  1707. RANLIB        = /usr/bin/ranlib
  1708. MAKEDEPEND    = /sprite2/users/sprite/cmds.ds3100/makedepend
  1709. LINT        = /sprite2/users/sprite/cmds.ds3100/lint
  1710. MKVERSION    = /sprite2/users/sprite/cmds.ds3100/mkversion
  1711. TMCFLAGS    =
  1712. TMAFLAGS    =
  1713. @
  1714.  
  1715.  
  1716. 1.11
  1717. log
  1718. @Remove ds3100, jhh, and fd from $MACHINES.
  1719. @
  1720. text
  1721. @d20 1
  1722. a20 1
  1723. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.10 89/07/18 15:26:42 rab Exp Locker: ouster $
  1724. a45 3
  1725. BINDIR            = /usr/bin
  1726. CPP            = /usr/bin/cc -E -msun4
  1727. NOOPTIMIZATION        =
  1728. @
  1729.  
  1730.  
  1731. 1.10
  1732. log
  1733. @*** empty log message ***
  1734. @
  1735. text
  1736. @d20 1
  1737. a20 1
  1738. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.9 89/07/02 23:31:06 rab Exp Locker: rab $
  1739. d85 6
  1740. @
  1741.  
  1742.  
  1743. 1.9
  1744. log
  1745. @Fixed sun4 stuff to work with gcc & gld.
  1746. @
  1747. text
  1748. @d20 1
  1749. a20 1
  1750. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.8 89/06/23 12:04:24 jhh Exp Locker: rab $
  1751. d26 1
  1752. d31 1
  1753. d41 1
  1754. a45 1
  1755. MACHINE            = sun4
  1756. d47 3
  1757. a49 1
  1758. CPP            = /usr/bin/cc -E
  1759. d58 22
  1760. @
  1761.  
  1762.  
  1763. 1.8
  1764. log
  1765. @*** empty log message ***
  1766. @
  1767. text
  1768. @d20 1
  1769. a20 1
  1770. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.7 89/05/24 10:12:43 douglis Exp Locker: douglis $
  1771. d41 2
  1772. a42 4
  1773. # TMCFLAGS        = -msun4 -Dsprite -Dsun4 -DCLEAN_LOCK
  1774. # TMAFLAGS        = -msparc
  1775. TMCFLAGS        = -Dsprite -Dsun4 -DCLEAN_LOCK
  1776. TMAFLAGS        =
  1777. @
  1778.  
  1779.  
  1780. 1.7
  1781. log
  1782. @i don't know, this is fred checking in for mary
  1783. @
  1784. text
  1785. @d20 1
  1786. a20 1
  1787. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.6 89/05/09 01:09:31 rab Exp Locker: mgbaker $
  1788. d26 1
  1789. d30 1
  1790. d38 2
  1791. d48 2
  1792. a49 1
  1793. #elif !empty(TM:Mjhh)
  1794. d52 4
  1795. d57 1
  1796. @
  1797.  
  1798.  
  1799. 1.6
  1800. log
  1801. @Added -m flags for sun4.
  1802.  
  1803. @
  1804. text
  1805. @d20 1
  1806. a20 1
  1807. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.5 89/04/23 23:10:35 jhh Exp Locker: rab $
  1808. d37 4
  1809. a40 2
  1810. TMCFLAGS        = -msun4 -Dsprite -Dsun4 -DCLEAN_LOCK -DNO_SUN4_CACHING
  1811. TMAFLAGS        = -msparc
  1812. d45 1
  1813. a45 1
  1814. TMCFLAGS        = -msun3 -DLOCKDEP -Dsun3
  1815. @
  1816.  
  1817.  
  1818. 1.5
  1819. log
  1820. @added jhh machine type
  1821. @
  1822. text
  1823. @d20 1
  1824. a20 1
  1825. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.4 89/03/15 22:12:47 jhh Exp Locker: jhh $
  1826. d37 2
  1827. a38 2
  1828. TMCFLAGS        = -Dsprite -Dsun4 -DCLEAN_LOCK -DNO_SUN4_CACHING
  1829. TMAFLAGS        =
  1830. @
  1831.  
  1832.  
  1833. 1.4
  1834. log
  1835. @fixed flags concerning locks
  1836. @
  1837. text
  1838. @d20 1
  1839. a20 1
  1840. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.2 89/01/11 19:34:49 mlgray Exp $
  1841. d42 3
  1842. @
  1843.  
  1844.  
  1845. 1.3
  1846. log
  1847. @Checking this in for mendel. JohnH
  1848. @
  1849. text
  1850. @d24 1
  1851. a24 1
  1852. TMCFLAGS        = -msun2 -DCLEAN_LOCK
  1853. d27 1
  1854. a27 1
  1855. TMCFLAGS        = -msun3 -DCLEAN_LOCK
  1856. d30 1
  1857. a30 1
  1858. TMCFLAGS        = -mspur -mlong-jumps  -DCLEAN_LOCK
  1859. d37 1
  1860. a37 1
  1861. TMCFLAGS        = -Dsprite -Dsun4 -DCLEAN_LOCK
  1862. @
  1863.  
  1864.  
  1865. 1.2
  1866. log
  1867. @changes for adding sun4
  1868. @
  1869. text
  1870. @d20 1
  1871. a20 1
  1872. # $Header: /sprite/lib/pmake/RCS/tm.mk,v 1.1 88/11/23 09:42:39 ouster Exp Locker: mlgray $
  1873. d24 1
  1874. a24 1
  1875. TMCFLAGS        = -msun2
  1876. d27 1
  1877. a27 1
  1878. TMCFLAGS        = -msun3
  1879. d30 1
  1880. a30 1
  1881. TMCFLAGS        = -mspur -mlong-jumps
  1882. d37 1
  1883. a37 1
  1884. TMCFLAGS        =
  1885. @
  1886.  
  1887.  
  1888. 1.1
  1889. log
  1890. @Initial revision
  1891. @
  1892. text
  1893. @d20 1
  1894. a20 1
  1895. # $Header: /sprite/lib/pmake/RCS/tmflags.mk,v 1.17 88/11/07 14:28:58 mendel Exp $
  1896. d36 6
  1897. @
  1898.